package DBLayer;

import java.util.ArrayList;
import ModelLayer.*;

public interface IFDBEmployee {
	
	 // get all Employees
    public ArrayList<Employee> getAllEmployees(boolean retriveAssociation);
    //get one employee having the empID
    public Employee findEmployee(int empId);
    //find one employee having the name
    public Employee searchEmployeeName( String name);
    //find one Employee having the loginname
    public Employee searchEmployeeLoginName(String loginname);
    //find one employee having the id
    public Employee searchEmpId(int empId);
    //insert a new employee
    public int insertEmployee(Employee emp) throws Exception;
    //update information about an employee
    public int updateEmployee(Employee emp);
    //delete an employee using the empID
    public int deleteEmployee(int empID);
   

}
